package com.wuseguang.springcloud.service;

import com.wuseguang.springcloud.entity.Attend;
import com.wuseguang.springcloud.util.Result;

import java.text.ParseException;
import java.util.List;
import java.util.Map;


/**
 * <p>
 * 班牌人脸或刷卡考勤 服务类
 * </p>
 *
 * @author
 * @since 2020-03-02
 */
public interface AttendService {

    //考勤 2.0
    List<Map<String, Object>> queryStudentAttend2(String attend_groupid, String school_id, String dateTime, String classId);

    List<Map<String, Object>> queryStudentAttend(String attendGroupId, String school_id, String dateTime, String classId);

    Result queryStudentAttendCount(String attend_groupid, String school_id, String dateTime, String classId);

    //    考勤2.0
    Result queryStudentAttendCount2(String school_id, String dateTime, Integer type);

    Result querySchoolAttendCount(String school_id, String dateTime, Integer type);

    Result queryTimeSlot(String schoolId, String dateTime);

    Result attendGroupClass(String attendGroupId, String schoolId);

    Result findStudentAttend(String classId, String dateTime, String schoolId);

    Result findAttendByStudentId(String id, String dateTime);

    Map<String, Object> queryAttendByStudentId2(String id, String dateTime);

    /**
     * @描述 家长端
     * @创建人 zm
     * @创建时间 2020/3/20
     */
    Map<String, Object> queryAttendByStudentId(String id, String dateTime);

}
